Optimal. Leaf size=195 \[ \frac{2 (b x)^{7/2} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} \left (63 c^2 f^2-14 c d e f (2 n+11)+d^2 e^2 \left (4 n^2+40 n+99\right )\right ) \, _2F_1\left (\frac{7}{2},-n;\frac{9}{2};-\frac{d x}{c}\right )}{7 b d^2 (2 n+9) (2 n+11)}-\frac{2 f (b x)^{7/2} (c+d x)^{n+1} (9 c f-d e (2 n+13))}{b d^2 (2 n+9) (2 n+11)}+\frac{2 f (b x)^{7/2} (e+f x) (c+d x)^{n+1}}{b d (2 n+11)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.124683, antiderivative size = 195, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {90, 80, 66, 64} \[ \frac{2 (b x)^{7/2} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} \left (63 c^2 f^2-14 c d e f (2 n+11)+d^2 e^2 \left (4 n^2+40 n+99\right )\right ) \, _2F_1\left (\frac{7}{2},-n;\frac{9}{2};-\frac{d x}{c}\right )}{7 b d^2 (2 n+9) (2 n+11)}-\frac{2 f (b x)^{7/2} (c+d x)^{n+1} (9 c f-d e (2 n+13))}{b d^2 (2 n+9) (2 n+11)}+\frac{2 f (b x)^{7/2} (e+f x) (c+d x)^{n+1}}{b d (2 n+11)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 90
Rule 80
Rule 66
Rule 64
Rubi steps
\begin{align*} \int (b x)^{5/2} (c+d x)^n (e+f x)^2 \, dx &=\frac{2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac{2 \int (b x)^{5/2} (c+d x)^n \left (-\frac{1}{2} b e \left (7 c f-2 d e \left (\frac{11}{2}+n\right )\right )-\frac{1}{2} b f (9 c f-d e (13+2 n)) x\right ) \, dx}{b d (11+2 n)}\\ &=-\frac{2 f (9 c f-d e (13+2 n)) (b x)^{7/2} (c+d x)^{1+n}}{b d^2 (9+2 n) (11+2 n)}+\frac{2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac{\left (63 c^2 f^2-14 c d e f (11+2 n)+d^2 e^2 \left (99+40 n+4 n^2\right )\right ) \int (b x)^{5/2} (c+d x)^n \, dx}{d^2 (9+2 n) (11+2 n)}\\ &=-\frac{2 f (9 c f-d e (13+2 n)) (b x)^{7/2} (c+d x)^{1+n}}{b d^2 (9+2 n) (11+2 n)}+\frac{2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac{\left (\left (63 c^2 f^2-14 c d e f (11+2 n)+d^2 e^2 \left (99+40 n+4 n^2\right )\right ) (c+d x)^n \left (1+\frac{d x}{c}\right )^{-n}\right ) \int (b x)^{5/2} \left (1+\frac{d x}{c}\right )^n \, dx}{d^2 (9+2 n) (11+2 n)}\\ &=-\frac{2 f (9 c f-d e (13+2 n)) (b x)^{7/2} (c+d x)^{1+n}}{b d^2 (9+2 n) (11+2 n)}+\frac{2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac{2 \left (63 c^2 f^2-14 c d e f (11+2 n)+d^2 e^2 \left (99+40 n+4 n^2\right )\right ) (b x)^{7/2} (c+d x)^n \left (1+\frac{d x}{c}\right )^{-n} \, _2F_1\left (\frac{7}{2},-n;\frac{9}{2};-\frac{d x}{c}\right )}{7 b d^2 (9+2 n) (11+2 n)}\\ \end{align*}
Mathematica [A] time = 0.14591, size = 146, normalized size = 0.75 \[ \frac{2 x (b x)^{5/2} (c+d x)^n \left (\frac{d x}{c}+1\right )^{-n} \left (\left (63 c^2 f^2-14 c d e f (2 n+11)+d^2 e^2 \left (4 n^2+40 n+99\right )\right ) \, _2F_1\left (\frac{7}{2},-n;\frac{9}{2};-\frac{d x}{c}\right )-7 f (c+d x) \left (\frac{d x}{c}+1\right )^n (9 c f-d (e (4 n+22)+f (2 n+9) x))\right )}{7 d^2 (2 n+9) (2 n+11)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.029, size = 0, normalized size = 0. \begin{align*} \int \left ( bx \right ) ^{{\frac{5}{2}}} \left ( dx+c \right ) ^{n} \left ( fx+e \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b x\right )^{\frac{5}{2}}{\left (f x + e\right )}^{2}{\left (d x + c\right )}^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (b^{2} f^{2} x^{4} + 2 \, b^{2} e f x^{3} + b^{2} e^{2} x^{2}\right )} \sqrt{b x}{\left (d x + c\right )}^{n}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \left (b x\right )^{\frac{5}{2}}{\left (f x + e\right )}^{2}{\left (d x + c\right )}^{n}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]